package dbtLab3;

import java.util.ArrayList;

public class Performance {
	ArrayList<String> a;
	int firstvalue;
	public Performance(){
		a = new ArrayList<String>();
	}
	
	public void saveName(String name){
		a.add(0 ,name);
		//System.out.println(a.get(0));
	}
	
	public void saveDate(String date){
		a.add(1, date);
		//System.out.println(a.get(1));
	}
	public void saveTheaName(String TheaName){
		a.add(2, TheaName);
		//System.out.println(a.get(2));
	}
	
	public void saveSeats(int Seats){
		String Seats1 = Integer.toString(Seats);
		//System.out.println(Seats1);
		a.add(3,Seats1);
	}
	
	public ArrayList<String> getInfo(){
		return a;
	}
	
	public void saveUser (String userName){
		a.add(4, userName);
		
	}
}
